/*
+--------------------------------------------------------------------------
|   Mblog [#RELEASE_VERSION#]
|   ========================================
|   Copyright (c) 2014, 2015 mtons. All Rights Reserved
|   http://www.mtons.com
|
+---------------------------------------------------------------------------
*/
package com.mtons.mblog.web.controller.site;

/**
 * 返回页面配置
 * @author langhsu
 */
public interface Views {

    /** 登录 */
    String LOGIN = "/auth/login";
    /** 注册 */
    String REGISTER = "/auth/register";
    String REGISTER_RESULT = "/auth/result";
    String OAUTH_REGISTER = "/auth/oauth_register";

    String FORGOT = "/auth/forgot";
    /** 主页 */
    String INDEX = "/index";

    /** 历史的今天 */
    String HISTORY = "/history";

    /** 留言板 */
    String LEAVE = "/leave";

    /** 文章归档 */
    String ARCHIVE = "/archive";

    /** 音乐 */
    String MUSIC = "/music";

    /** 标签 */
    String TAGS_CLOUD = "/tag_cloud";

    /** 常用工具 */
    String TOOL = "/tools";

    String USER_POSTS = "/user/method_posts";
    String USER_COMMENTS = "/user/method_comments";
    String USER_FAVORITES = "/user/method_favorites";
    String USER_MESSAGES = "/user/method_messages";

    String REDIRECT_USER_HOME = "redirect:/users/%d";

    String SETTINGS_AVATAR = "/settings/avatar";
    String SETTINGS_PASSWORD = "/settings/password";
    String SETTINGS_PROFILE = "/settings/profile";
    String SETTINGS_EMAIL = "/settings/email";

    String TAGS_TAG = "/tag";

    String BROWSE_SEARCH = "/search";

    String ROUTE_POST_EDITING = "/channel/editing";
    String ROUTE_POST_INDEX = "/channel/index";
    String ROUTE_POST_VIEW = "/channel/view";
}
